package com.dkm.orproject.dkmoa.service;

import com.dkm.orproject.dkmoa.domain.OaVoteType;
import com.dkm.orproject.utils.utils.ThreeVo;

import java.util.List;

/**
 * @ClassName : OaVoteTypeService  //类名
 * @Description :   投票类型service//描述
 * @Author : 易嵘  //作者
 * @Date: 2020-11-26 15:07  //时间
 */
public interface OaVoteTypeService {
    List<OaVoteType> findAll(String voteTypeName, String startTime, String endTime, Integer page, Integer limit);

    Long rowCount(String voteTypeName, String startTime, String endTime);

    OaVoteType selectByPrimaryKey(Long id);

    int add(OaVoteType voteType, String personnelName);

    int updateByPrimaryKeySelective(OaVoteType voteType);

    List<OaVoteType> selectAll(List<Long> list);

    int deleteAll(List<Long> list);

    int deleteByPrimaryKey(Long id);

    List<ThreeVo> loadVoteType(Long id, String show);
}
